package dto

import (
	"tuowei.com/common/dto"
	common "tuowei.com/common/models"
)

type ApiExaminationGetPageReq struct {
	dto.Pagination `search:"-"`
	Subject        string `form:"subject" search:"type:exact;column:subject;table:sys_examination" comment:"科目"` // 语文/数学/化学/物理/生物/英语
	Province       string `json:"province" form:"province" search:"type:contains;column:province;table:sys_examination" comment:"使用地区"`
}

func (m *ApiExaminationGetPageReq) GetNeedSearch() interface{} {
	return *m
}

type SysExaminationById struct {
	dto.ObjectById
	common.ControlBy
}
